package com.hunau.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hunau.common.annotation.Excel;
import com.hunau.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 终端管理（终端管理的主）对象 terminals
 * 
 * @author ruoyi
 * @date 2020-03-15
 */
public class Terminals extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 终端设备IMEI */
    @Excel(name = "终端MIN")
    private String tid;

    /** 终端设备名称 */
    @Excel(name = "终端设备名称")
    private String tname;

    /** 所属分组ID */
    @Excel(name = "所属分组ID")
    private String aid;

    /** 所属用户编号 */
    @Excel(name = "所属用户编号")
    private String userid;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String facid;

    /** 安装地址 */
    @Excel(name = "安装地址")
    private String address;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 终端接入通信网 */
    @Excel(name = "终端接入通信网")
    private String comstand;

    /** 终端接入广播电视网模式 */
    @Excel(name = "终端接入广播电视网模式")
    private String broadtel;

    /** 终端管理员名称 */
    @Excel(name = "终端管理员名称")
    private String manager;

    /** 终端管理员电话 */
    @Excel(name = "终端管理员电话")
    private String managertel;

    /** 终端交互时间 */
    @Excel(name = "终端交互时间")
    private String intertime;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdtime;

    /** 是否可用 */
    @Excel(name = "是否可用")
    private String isuse;

    /** 终端手机号码 */
    @Excel(name = "终端手机号码")
    private String phone;

    /** RDS码 */
    @Excel(name = "RDS码")
    private String rds;

    /** 调频接收频率(终端可收转广播频率 ) */
    @Excel(name = "调频接收频率(终端可收转广播频率 )")
    private String fmfrequency;

    /** 终端流量使用限制，单位MB */
    @Excel(name = "终端流量使用限制，单位MB")
    private Long trafficlimit;

    /** 1:应急广播终端,2:后备能源型终端,3:发射机型终端 */
    @Excel(name = "1:应急广播终端,2:后备能源型终端,3:发射机型终端")
    private Integer terminaltype;

    /** 最后访问日期 */
    @Excel(name = "最后访问日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastaccesstime;

    /** 现场照片 */
    @Excel(name = "现场照片")
    private String poscene;

    /** 年耗电量 */
    @Excel(name = "年耗电量")
    private String ypowerconsumption;

    /** 终端在线状态(显示未交互天数) */
    @Excel(name = "终端在线状态(显示未交互天数)")
    private String onlinestate;

    /** dcs码 */
    @Excel(name = "dcs码")
    private String dcs;

    /** 终端供电模式 */
    @Excel(name = "终端供电模式")
    private String pdmode;

    /** 充电电流 */
    @Excel(name = "充电电流")
    private String chargecurrent;

    /** 反射功率 */
    @Excel(name = "反射功率")
    private String reflectedpower;

    /** 工作电压 */
    @Excel(name = "工作电压")
    private String workvoltage;

    /** 发射功率 */
    @Excel(name = "发射功率")
    private String transmitpower;

    /** 对讲接收频率 */
    @Excel(name = "对讲接收频率")
    private String irfrequency;

    /** 发射频率 */
    @Excel(name = "发射频率")
    private String transmitfrequency;

    /** 流量使用（月） */
    @Excel(name = "流量使用")//, readConverterExp = "月="
    private String mflowusing;

    /** 广播接收频率 */
    @Excel(name = "广播接收频率")
    private String brfrequency;

    /** 终端授权号码 */
    @Excel(name = "终端授权号码")
    private String atphone;

    /** 终端音量 */
    @Excel(name = "终端音量")
    private String eovolume;

    /** 电池电压 */
    @Excel(name = "电池电压")
    private String batteryvoltage;

    /** 负载电流 */
    @Excel(name = "负载电流")
    private String loadcurrent;

    /** 心跳包时间 */
    @Excel(name = "心跳包时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hbtime;

    /** 维护经费 */
    @Excel(name = "维护经费")
    private String maintenancefunds;

    /** 终端经度 */
    @Excel(name = "终端经度")
    private String latitude;

    /** 终端纬度 */
    @Excel(name = "终端纬度")
    private String longitude;

    public void setTid(String tid) 
    {
        this.tid = tid;
    }

    public String getTid() 
    {
        return tid;
    }
    public void setTname(String tname) 
    {
        this.tname = tname;
    }

    public String getTname() 
    {
        return tname;
    }
    public void setAid(String aid) 
    {
        this.aid = aid;
    }

    public String getAid() 
    {
        return aid;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setFacid(String facid) 
    {
        this.facid = facid;
    }

    public String getFacid() 
    {
        return facid;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }
    public void setComstand(String comstand) 
    {
        this.comstand = comstand;
    }

    public String getComstand() 
    {
        return comstand;
    }
    public void setBroadtel(String broadtel) 
    {
        this.broadtel = broadtel;
    }

    public String getBroadtel() 
    {
        return broadtel;
    }
    public void setManager(String manager) 
    {
        this.manager = manager;
    }

    public String getManager() 
    {
        return manager;
    }
    public void setManagertel(String managertel) 
    {
        this.managertel = managertel;
    }

    public String getManagertel() 
    {
        return managertel;
    }
    public void setIntertime(String intertime) 
    {
        this.intertime = intertime;
    }

    public String getIntertime() 
    {
        return intertime;
    }
    public void setCreatedtime(Date createdtime) 
    {
        this.createdtime = createdtime;
    }

    public Date getCreatedtime() 
    {
        return createdtime;
    }

    public void setIsuse(String isuse)
    {
        this.isuse = isuse;
    }
    public String getIsuse()
    {
        return isuse;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setRds(String rds) 
    {
        this.rds = rds;
    }

    public String getRds() 
    {
        return rds;
    }
    public void setFmfrequency(String fmfrequency) 
    {
        this.fmfrequency = fmfrequency;
    }

    public String getFmfrequency() 
    {
        return fmfrequency;
    }
    public void setTrafficlimit(Long trafficlimit) 
    {
        this.trafficlimit = trafficlimit;
    }

    public Long getTrafficlimit() 
    {
        return trafficlimit;
    }
    public void setTerminaltype(Integer terminaltype) 
    {
        this.terminaltype = terminaltype;
    }

    public Integer getTerminaltype() 
    {
        return terminaltype;
    }
    public void setLastaccesstime(Date lastaccesstime) 
    {
        this.lastaccesstime = lastaccesstime;
    }

    public Date getLastaccesstime() 
    {
        return lastaccesstime;
    }
    public void setPoscene(String poscene) 
    {
        this.poscene = poscene;
    }

    public String getPoscene() 
    {
        return poscene;
    }
    public void setYpowerconsumption(String ypowerconsumption) 
    {
        this.ypowerconsumption = ypowerconsumption;
    }

    public String getYpowerconsumption() 
    {
        return ypowerconsumption;
    }
    public void setOnlinestate(String onlinestate) 
    {
        this.onlinestate = onlinestate;
    }

    public String getOnlinestate() 
    {
        return onlinestate;
    }
    public void setDcs(String dcs) 
    {
        this.dcs = dcs;
    }

    public String getDcs() 
    {
        return dcs;
    }
    public void setPdmode(String pdmode) 
    {
        this.pdmode = pdmode;
    }

    public String getPdmode() 
    {
        return pdmode;
    }
    public void setChargecurrent(String chargecurrent) 
    {
        this.chargecurrent = chargecurrent;
    }

    public String getChargecurrent() 
    {
        return chargecurrent;
    }
    public void setReflectedpower(String reflectedpower) 
    {
        this.reflectedpower = reflectedpower;
    }

    public String getReflectedpower() 
    {
        return reflectedpower;
    }
    public void setWorkvoltage(String workvoltage) 
    {
        this.workvoltage = workvoltage;
    }

    public String getWorkvoltage() 
    {
        return workvoltage;
    }
    public void setTransmitpower(String transmitpower) 
    {
        this.transmitpower = transmitpower;
    }

    public String getTransmitpower() 
    {
        return transmitpower;
    }
    public void setIrfrequency(String irfrequency) 
    {
        this.irfrequency = irfrequency;
    }

    public String getIrfrequency() 
    {
        return irfrequency;
    }
    public void setTransmitfrequency(String transmitfrequency) 
    {
        this.transmitfrequency = transmitfrequency;
    }

    public String getTransmitfrequency() 
    {
        return transmitfrequency;
    }
    public void setMflowusing(String mflowusing) 
    {
        this.mflowusing = mflowusing;
    }

    public String getMflowusing() 
    {
        return mflowusing;
    }
    public void setBrfrequency(String brfrequency) 
    {
        this.brfrequency = brfrequency;
    }

    public String getBrfrequency() 
    {
        return brfrequency;
    }
    public void setAtphone(String atphone) 
    {
        this.atphone = atphone;
    }

    public String getAtphone() 
    {
        return atphone;
    }
    public void setEovolume(String eovolume) 
    {
        this.eovolume = eovolume;
    }

    public String getEovolume() 
    {
        return eovolume;
    }
    public void setBatteryvoltage(String batteryvoltage) 
    {
        this.batteryvoltage = batteryvoltage;
    }

    public String getBatteryvoltage() 
    {
        return batteryvoltage;
    }
    public void setLoadcurrent(String loadcurrent) 
    {
        this.loadcurrent = loadcurrent;
    }

    public String getLoadcurrent() 
    {
        return loadcurrent;
    }
    public void setHbtime(Date hbtime) 
    {
        this.hbtime = hbtime;
    }

    public Date getHbtime() 
    {
        return hbtime;
    }
    public void setMaintenancefunds(String maintenancefunds) 
    {
        this.maintenancefunds = maintenancefunds;
    }

    public String getMaintenancefunds() 
    {
        return maintenancefunds;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tid", getTid())
            .append("tname", getTname())
            .append("aid", getAid())
            .append("userid", getUserid())
            .append("facid", getFacid())
            .append("address", getAddress())
            .append("note", getNote())
            .append("comstand", getComstand())
            .append("broadtel", getBroadtel())
            .append("manager", getManager())
            .append("managertel", getManagertel())
            .append("intertime", getIntertime())
            .append("createdtime", getCreatedtime())
            .append("isuse", getIsuse())
            .append("phone", getPhone())
            .append("rds", getRds())
            .append("fmfrequency", getFmfrequency())
            .append("trafficlimit", getTrafficlimit())
            .append("terminaltype", getTerminaltype())
            .append("lastaccesstime", getLastaccesstime())
            .append("poscene", getPoscene())
            .append("ypowerconsumption", getYpowerconsumption())
            .append("onlinestate", getOnlinestate())
            .append("dcs", getDcs())
            .append("pdmode", getPdmode())
            .append("chargecurrent", getChargecurrent())
            .append("reflectedpower", getReflectedpower())
            .append("workvoltage", getWorkvoltage())
            .append("transmitpower", getTransmitpower())
            .append("irfrequency", getIrfrequency())
            .append("transmitfrequency", getTransmitfrequency())
            .append("mflowusing", getMflowusing())
            .append("brfrequency", getBrfrequency())
            .append("atphone", getAtphone())
            .append("eovolume", getEovolume())
            .append("batteryvoltage", getBatteryvoltage())
            .append("loadcurrent", getLoadcurrent())
            .append("hbtime", getHbtime())
            .append("maintenancefunds", getMaintenancefunds())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .toString();
    }
}
